package com.dchh.android.suverynew.http.services;

import com.alibaba.fastjson.JSONObject;
import com.dchh.android.suverynew.common.HttpURL;
import com.dhcc.android.base.utils.version.UpdataInfo;

import retrofit2.http.GET;
import rx.Observable;

/**
 * Created by eric on 2016/8/6.
 */
public interface ICommonService {

    @GET(HttpURL.CHECK_VERSION)
    Observable<UpdataInfo> checkVersion();

    @GET(HttpURL.LOGIN)
    Observable<JSONObject> login();
}
